package com.htt.app.xonefm.config;

import com.htt.app.xonefm.utils.Utils;


public class Config {
	
	public static final boolean isCheckLog = false;

	
	public static final String SHARE_CATEGORIES = "CATEGORIES";
	public static final String SHARE_CATEGORYTYPE = "CATEGORYTYPE";
	public static final String SHARE_CHANNEL = "CHANNEL";
	public static final String SHARE_IMAGE = "IMAGE";
	public static final String SHARE_VERSIONCODE = "VERSION_CODE";
	public static final String SHARE_CURRENT_CHANNEL = "CURRENT_CHANNEL";
	
	public static final int COUNT = 15;
	
	public static final String USER_NAME = "u";
	public static final String PASSWORD = "p";
	
	public static final String URL_SHOW(int page) {
		return "http://caytet.com/tuanht53/api_qns.php?method=get&format=json&page=" + page +"&count=" + COUNT;
	}
	
	public static String URL_ListCategoryListened(int categoryID) {
		String requestTime = Utils.getRequestTime();
		String appKey = Utils.getAppKey(requestTime);
		return "http://103.3.252.8/radiows/Service.svc/ListCategoryListeneds/" + categoryID + "," + requestTime + "," + appKey;
	}
	
	public static final String MAIL_SUPPORT = "htt.android.inc@gmail.com";
	
	// JSOn Node Name table Shows
	public static final String TAG_ListCategoryListenedsResult = "ListCategoryListenedsResult";
	public static final String TAG_CateId = "CateId";
	public static final String TAG_Desc = "Desc";
	public static final String TAG_ImgIcon = "ImgIcon";
	public static final String TAG_Url = "Url";
	public static final String TAG_Name = "Name";
	public static final String TAG_Time = "Time";
}
